/**
 * 创建nodeId 
 * fId 操作的第一层级的nodeId 
 * maxNo 操作的第二层级的最大nodeId
 */
export function nodeId(fId, maxNo, sysId) {
	sysId = (sysId == undefined) ? "" : sysId;
	var newFid = "";
	var zero = "00000000000000000000000000000";
	if(maxNo == "" || maxNo == undefined) {
		var nowNo = "000";
	} else {
		var sId = maxNo.substr(maxNo.length - 3);
		var nowNo = parseInt(sId) + 1;
	}
	var nowLen = nowNo.toString().length;
	sId = nowLen >= 3 ? nowNo : (zero.substring(0, 3 - nowLen) + nowNo);
	newFid = maxNo.length == 3 ? "" : fId;
	console.log('生成deptId-------',(sysId + newFid + sId));
	return sysId + newFid + sId;
};